<#import "../../layout.html" as c>
    <#import "../../list_layout.html" as list>
        <#assign alertList = []/>
        <@c.html title="结算报表">
        <!-- ================== 开始页面级CSS调用 ================== -->
        <link href="${pluginsRoot}bootstrap-wizard/css/bwizard.min.css" rel="stylesheet"/>
        <!-- 日历控件 -->
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
        <!-- ================== 结束页面级CSS调用 ================== -->
        <@list.html title="结算报表" subTitle="结算报表" alertList=alertList permi="" addBtn=false searchHint="">

        <!-- 开始用户权限参数 &ndash;&gt;-->
        <!--<@shiro.hasPermission name="sys:agent:edit">-->
        <!--<input type="hidden" id="editAgent" value="1"/>-->
        <!--</@shiro.hasPermission>-->
        <!-- 结束用户权限参数 -->

        <div class="modal fade" id="reportlModal" tabindex="-1" role="dialog">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h4 class="modal-title"> 结算报表时段 <a class="btn btn-info btn-xs m-l-5" role="button" data-toggle="collapse" href="#OperationTips" aria-expanded="true" title="操作提示"><i class="fa fa-exclamation"></i> 提示 </a> </h4>
                    </div>
                    <div class="modal-body">
                        <ul class="collapse in text-info p-b-10 p-l-15" role="tabpanel" id="OperationTips">
                            <li>请根据提示信息正确输入。</li>
                        </ul>
                        <form class="form-horizontal form-bordered p-0" action="" id="reportForm" method="post" autocomplete="off" data-parsley-validate="true">
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-4"> 结算报表时段<i class="f-s-14 text-danger">*</i>&nbsp;:</label>
                                <div class="col-md-10 col-sm-9">
                                    <div class="col-sm-5">
                                        <div class="input-group">
                                            <input type="text" class="form-control J-date-start" nc-format="" id="settleStartTime" name="settleStartTimeStr" data-parsley-required="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择开始时间"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});">
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    <div class="col-sm-5">
                                        <div class="input-group">
                                            <input type="text" class="form-control J-date-end" nc-format="" id="settleEndTime"  name="settleEndTimeStr" data-parsley-required="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择结束时间"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});">
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer"><a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a><a href="javascript:;" id="submit" class="btn btn-success" data-loading-text="Loading..." nc-ajax-submit-target="reportForm" nc-ajax-submit>确认提交</a></div>
                </div>
            </div>
        </div>


        <!-- 结束编辑管理员模态窗口 -->

    </@list.html>
    <!-- ================== 开始页面级JavaScrip调用 ================== -->
    <script src="${pluginsRoot}bootstrap-wizard/js/bwizard.js"></script>
    <!-- 表单checkbox项 -->
    <script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
    <!-- 日历控件 -->
    <script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
    <script src="${jsRoot}agent/profitReport.handle.js"></script>
    <!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
